﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_CONTACT.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_CONTACT数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_CONTACT", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_CONTACT", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_CONTACT_Entity
	{
		#region 变量定义		
		///<summary>
		///联系人编号
		///</summary>
		private long _cONTACTID;
		///<summary>
		///姓名
		///</summary>
		private string _nAME = String.Empty;
		///<summary>
		///性别
		///</summary>
		private long? _gENDER = 0;
		///<summary>
		///生日
		///</summary>
		private DateTime? _bIRTHDATE;
		///<summary>
		///手机
		///</summary>
		private string _mOBILEPHONE = String.Empty;
		///<summary>
		///办公电话
		///</summary>
		private string _oFFICEPHONE = String.Empty;
		///<summary>
		///家庭电话
		///</summary>
		private string _hOMEPHONE = String.Empty;
		///<summary>
		///客户编号
		///</summary>
		private string _cUSTOMERID = String.Empty;
		///<summary>
		///客户姓名
		///</summary>
		private string _cUSTOMERNAME = String.Empty;
		///<summary>
		///车辆编号
		///</summary>
		private long? _vEHICLEID = 0;
		///<summary>
		///整机编号
		///</summary>
		private string _vINCODE = String.Empty;
		///<summary>
		///详细地址
		///</summary>
		private string _aDDRESS = String.Empty;
		///<summary>
		///国家
		///</summary>
		private string _cOUNTRY = String.Empty;
		///<summary>
		///省份
		///</summary>
		private string _pROVINCE = String.Empty;
		///<summary>
		///地级市
		///</summary>
		private string _pREFECTURECITY = String.Empty;
		///<summary>
		///区/县/市
		///</summary>
		private string _cITY = String.Empty;
		///<summary>
		///乡/镇/街道
		///</summary>
		private string _vILLAGETOWN = String.Empty;
		///<summary>
		///村
		///</summary>
		private string _vILLAGE = String.Empty;
		///<summary>
		///组/队
		///</summary>
		private string _gROUPTEAM = String.Empty;
		///<summary>
		///邮件地址
		///</summary>
		private string _eMAIL = String.Empty;
		///<summary>
		///邮编
		///</summary>
		private string _zIPCODE = String.Empty;
		///<summary>
		///传真
		///</summary>
		private string _fAX = String.Empty;
		///<summary>
		///身份
		///</summary>
		private string _iDENTITY = String.Empty;
		///<summary>
		///所属公司
		///</summary>
		private string _oWNEDCOMPANY = String.Empty;
		///<summary>
		///职务
		///</summary>
		private string _dUTIES = String.Empty;
		///<summary>
		///驾龄
		///</summary>
		private long? _dRIVINGAGE = 0;
		///<summary>
		///是否接受短信
		///</summary>
		private long? _iSACCEPTSMS = 0;
		///<summary>
		///是否接受资料

		///</summary>
		private long? _iSACCEPTINFORMATION = 0;
		///<summary>
		///创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///创建人编号
		///</summary>
		private long? _cREATEPEOPLEID = 0;
		///<summary>
		///创建人
		///</summary>
		private string _cREATEPEOPLE = String.Empty;
		///<summary>
		///最后修改人编号
		///</summary>
		private long? _lASTMODIFYPEOPLEID = 0;
		///<summary>
		///最后修改人
		///</summary>
		private string _lASTMODIFYPEOPLE = String.Empty;
		///<summary>
		///最后修改时间
		///</summary>
		private DateTime? _lASTMODIFYTIME;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID = 0;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_CONTACT_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///联系人编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_CONTACT")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long CONTACTID
		{
			get {return _cONTACTID;}
			set { _cONTACTID = value; }
			
		}

		///<summary>
		///姓名
		///</summary>		
		public string NAME
		{
			get {return _nAME;}
			set {
					_nAME = value;
				}
			
		}

		///<summary>
		///性别
		///</summary>		
		public long? GENDER
		{
			get {return _gENDER;}
			set { _gENDER = value; }
			
		}

		///<summary>
		///生日
		///</summary>		
		public DateTime? BIRTHDATE
		{
			get {return _bIRTHDATE;}
			set { _bIRTHDATE = value; }
			
		}

		///<summary>
		///手机
		///</summary>		
		public string MOBILEPHONE
		{
			get {return _mOBILEPHONE;}
			set {
					_mOBILEPHONE = value;
				}
			
		}

		///<summary>
		///办公电话
		///</summary>		
		public string OFFICEPHONE
		{
			get {return _oFFICEPHONE;}
			set {
					_oFFICEPHONE = value;
				}
			
		}

		///<summary>
		///家庭电话
		///</summary>		
		public string HOMEPHONE
		{
			get {return _hOMEPHONE;}
			set {
					_hOMEPHONE = value;
				}
			
		}

		///<summary>
		///客户编号
		///</summary>		
		public string CUSTOMERID
		{
			get {return _cUSTOMERID;}
			set {
					_cUSTOMERID = value;
				}
			
		}

		///<summary>
		///客户姓名
		///</summary>		
		public string CUSTOMERNAME
		{
			get {return _cUSTOMERNAME;}
			set {
					_cUSTOMERNAME = value;
				}
			
		}

		///<summary>
		///车辆编号
		///</summary>		
		public long? VEHICLEID
		{
			get {return _vEHICLEID;}
			set { _vEHICLEID = value; }
			
		}

		///<summary>
		///整机编号
		///</summary>		
		public string VINCODE
		{
			get {return _vINCODE;}
			set {
					_vINCODE = value;
				}
			
		}

		///<summary>
		///详细地址
		///</summary>		
		public string ADDRESS
		{
			get {return _aDDRESS;}
			set {
					_aDDRESS = value;
				}
			
		}

		///<summary>
		///国家
		///</summary>		
		public string COUNTRY
		{
			get {return _cOUNTRY;}
			set {
					_cOUNTRY = value;
				}
			
		}

		///<summary>
		///省份
		///</summary>		
		public string PROVINCE
		{
			get {return _pROVINCE;}
			set {
					_pROVINCE = value;
				}
			
		}

		///<summary>
		///地级市
		///</summary>		
		public string PREFECTURECITY
		{
			get {return _pREFECTURECITY;}
			set {
					_pREFECTURECITY = value;
				}
			
		}

		///<summary>
		///区/县/市
		///</summary>		
		public string CITY
		{
			get {return _cITY;}
			set {
					_cITY = value;
				}
			
		}

		///<summary>
		///乡/镇/街道
		///</summary>		
		public string VILLAGETOWN
		{
			get {return _vILLAGETOWN;}
			set {
					_vILLAGETOWN = value;
				}
			
		}

		///<summary>
		///村
		///</summary>		
		public string VILLAGE
		{
			get {return _vILLAGE;}
			set {
					_vILLAGE = value;
				}
			
		}

		///<summary>
		///组/队
		///</summary>		
		public string GROUPTEAM
		{
			get {return _gROUPTEAM;}
			set {
					_gROUPTEAM = value;
				}
			
		}

		///<summary>
		///邮件地址
		///</summary>		
		public string EMAIL
		{
			get {return _eMAIL;}
			set {
					_eMAIL = value;
				}
			
		}

		///<summary>
		///邮编
		///</summary>		
		public string ZIPCODE
		{
			get {return _zIPCODE;}
			set {
					_zIPCODE = value;
				}
			
		}

		///<summary>
		///传真
		///</summary>		
		public string FAX
		{
			get {return _fAX;}
			set {
					_fAX = value;
				}
			
		}

		///<summary>
		///身份
		///</summary>		
		public string IDENTITY
		{
			get {return _iDENTITY;}
			set {
					_iDENTITY = value;
				}
			
		}

		///<summary>
		///所属公司
		///</summary>		
		public string OWNEDCOMPANY
		{
			get {return _oWNEDCOMPANY;}
			set {
					_oWNEDCOMPANY = value;
				}
			
		}

		///<summary>
		///职务
		///</summary>		
		public string DUTIES
		{
			get {return _dUTIES;}
			set {
					_dUTIES = value;
				}
			
		}

		///<summary>
		///驾龄
		///</summary>		
		public long? DRIVINGAGE
		{
			get {return _dRIVINGAGE;}
			set { _dRIVINGAGE = value; }
			
		}

		///<summary>
		///是否接受短信
		///</summary>		
		public long? ISACCEPTSMS
		{
			get {return _iSACCEPTSMS;}
			set { _iSACCEPTSMS = value; }
			
		}

		///<summary>
		///是否接受资料

		///</summary>		
		public long? ISACCEPTINFORMATION
		{
			get {return _iSACCEPTINFORMATION;}
			set { _iSACCEPTINFORMATION = value; }
			
		}

		///<summary>
		///创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///创建人编号
		///</summary>		
		public long? CREATEPEOPLEID
		{
			get {return _cREATEPEOPLEID;}
			set { _cREATEPEOPLEID = value; }
			
		}

		///<summary>
		///创建人
		///</summary>		
		public string CREATEPEOPLE
		{
			get {return _cREATEPEOPLE;}
			set {
					_cREATEPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改人编号
		///</summary>		
		public long? LASTMODIFYPEOPLEID
		{
			get {return _lASTMODIFYPEOPLEID;}
			set { _lASTMODIFYPEOPLEID = value; }
			
		}

		///<summary>
		///最后修改人
		///</summary>		
		public string LASTMODIFYPEOPLE
		{
			get {return _lASTMODIFYPEOPLE;}
			set {
					_lASTMODIFYPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改时间
		///</summary>		
		public DateTime? LASTMODIFYTIME
		{
			get {return _lASTMODIFYTIME;}
			set { _lASTMODIFYTIME = value; }
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}
		
		
		#endregion
		
	}
}
